package com.adgox.tiantianbiting.utils;

import android.content.Context;
import android.content.SharedPreferences;

public class SpUtils {
    public static void setString(Context context,String key,String value){
       context.getSharedPreferences("ttbt",Context.MODE_PRIVATE).edit().putString(key,value).commit();
    }
    public static String getString(Context context,String key){
        String ttbt = context.getSharedPreferences("ttbt", Context.MODE_PRIVATE).getString(key, "");
        return  ttbt;
    }
}
